/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.edu.kamai.xml.beans.writing;

import com.edu.kamai.config.Constant;
import com.edu.kamai.xml.beans.paperXML;
import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author xyzhu
 */
public class writingXML extends paperXML{

    public List<writingQuestion> getWritingquestionList() {
        return writingquestionList;
    }

    public void setWritingquestionList(List<writingQuestion> writingquestionList) {
        this.writingquestionList = writingquestionList;
    }
        

    public  writingXML(){
        this.setPaperRoleID(Constant.WRITING_PAPER_ID);
        writingquestionList = new ArrayList<writingQuestion>();
    }
    
    public void addWritingQuestionToPaper(writingQuestion wq){
	writingquestionList.add(wq);
    }
        
    private List<writingQuestion> writingquestionList;
    
}
